package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spa.infrastructure.annotation.UrlParse;
import lombok.Data;

@Data
@TableName("s_massage_service")
public class MassageServicePO extends GenericPO{

    /**  项目名称 */
    @TableField(value = "name")
    private String name;
    /**  性別限制 */
    @TableField(value = "sex")
    private String sex;
    /**  推荐语 */
    @TableField(value = "recommendations")
    private String recommendations;
    /**  项目亮点 */
    @TableField(value = "highlights")
    private String highlights;
    /**  项目亮点标签 */
    @TableField(value = "highlights_tar")
    private String highlightsTar;
    /**  项目图片（1-6张） */
    @TableField(value = "img")
    @UrlParse(hasMore = true)
    private String img;

    @TableField(value = "img")
    private String oldImg;

    /**  项目封面 */
    @TableField(value = "cover")
    @UrlParse
    private String cover;

    @TableField(value = "cover")
    private String oldCover;

    /**  禁忌说明 */
    @TableField(value = "note")
    private String note;
    /**  下单须知 */
    @TableField(value = "declaration")
    private String declaration;
    /**  适用人群 */
    @TableField(value = "target_group")
    private String targetGroup;
    /**  时长 单位:分钟 */
    @TableField(value = "duration")
    private Integer duration;
    /**  金额 */
    @TableField(value = "price")
    private Integer price;
    /**  是否有效 0 有效 1无效 */
    @TableField(value = "is_del")
    private Integer isDel;

    /**  折扣金额 */
    @TableField(value = "discount_price")
    private Integer discountPrice;

    @TableField(value = "select_count")
    private Integer selectCount;

}
